home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #6
/
Amiga Plus CD - 2004 - No. 06.iso
/
AmigaPlus
/
Tools
/
Dev_Libs
/
Amiblitz2
/
Install
< prev
next >
Wrap
Text File
|
2004-05-05
|
3KB
|
82 lines
echo "Adding assigns to *"s:user-startup*" file..."
echo >> s:user-startup "assign >NIL: Blitz2: *"`cd`*""
echo >> s:user-startup "assign >NIL: Blitzlibs: *"`cd`/blitzlibs*""
echo "Creating assigns for this session..."
assign >NIL: Blitz2: `cd`
assign >NIL: Blitzlibs: `cd`/blitzlibs
echo "Copying default prefs files to ENVARC:..."
copy Prefs/ted.menus ENVARC:
copy Prefs/ted.prefs ENVARC:
ask "Would you like to copy the new ped.prefs to ENVARC:? (y/n)"
if warn
echo "ped.prefs copied"
copy Prefs/ped.prefs ENVARC:
else
echo "ped.prefs not copied"
endif
echo "Copying required system libraries..."
copy libs/ted.library libs:
echo "(ted.library)"
copy libs/lh.library libs:
echo "(lh.library)"
if exists libs:wizard.library
version libs:wizard.library VERSION=42 REVISION=100 >NIL:
if warn
echo "Updating wizard.library (old one is renamed to wizard.library_old)"
if exists libs:wizard.library_old
delete libs:wizard.library_old
endif
rename libs:wizard.library libs:wizard.library_old
copy libs/wizard.library libs:
endif
else
echo "Copying wizard.library to libs:"
copy libs/wizard.library libs:
endif
if exists libs:disassembler.library
version libs:disassembler.library VERSION=40 REVISION=4 >NIL:
if warn
echo "Updating disassembler.library (old one is renamed to disassembler.library_old)"
if exists libs:disassembler.library_old
delete libs:disassembler.library_old
endif
rename libs:disassembler.library libs:disassembler.library_old
copy libs/disassembler.library libs:
endif
else
echo "Copying disassembler.library to libs:"
copy libs/disassembler.library libs:
endif
echo "Setting script protection bits for online help..."
protect blitz2:redhelp/red_help +s
protect blitz2:redhelp/red_help +e
protect blitz2:redhelp/showexample +s
protect blitz2:redhelp/showexample +e
ask "Do you want to use the German versions of AmiBlitz, PED and the online help? (y/n)"
if warn
echo "German selected"
rename blitz2:Amiblitz2 blitz2:amiblitz2_eng
rename blitz2:PED blitz2:ped_eng
rename blitz2:help.dat blitz2:help_eng.dat
rename blitz2:RedHelp/RedHelp.dat blitz2:RedHelp/RedHelp_eng.dat
rename blitz2:RedHelp/REDBlitzLibs/REDBlitzLibs.guide blitz2:RedHelp/REDBlitzLibs/REDBlitzLibs_eng.guide
rename blitz2:amiblitz2_ger blitz2:Amiblitz2
rename blitz2:ped_ger blitz2:PED
rename blitz2:help_ger.dat blitz2:help.dat
rename blitz2:RedHelp/RedHelp_ger.dat blitz2:RedHelp/RedHelp.dat
rename blitz2:RedHelp/REDBlitzLibs/REDBlitzLibs_ger.guide blitz2:RedHelp/REDBlitzLibs/REDBlitzLibs.guide
else
echo "English selected"
endif
echo "Blitz is now ready for use. Close this window to finish"